package com.fs.ibox.pojo;

import java.util.Date;

/**
 * Author:HOU
 * date:2022/11/15  16:16
 * 案例:
 **/
public class Withdrawa {
    private Integer id;
    private String username; //用户名
    private Double w_money;//提现金额
    private Double money;//余额
    private Integer w_type;//操作类型  (0为提现,1为退款)
    private Double decimal;//提现手续费
    private String wId;     //提现单号
    private Date wdate;  //提现日期

    public Withdrawa() {
    }

    public Withdrawa(Integer id, String username, Double w_money, Double money, Integer w_type, Double decimal, String wId, Date wdate) {
        this.id = id;
        this.username = username;
        this.w_money = w_money;
        this.money = money;
        this.w_type = w_type;
        this.decimal = decimal;
        this.wId = wId;
        this.wdate = wdate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Double getW_money() {
        return w_money;
    }

    public void setW_money(Double w_money) {
        this.w_money = w_money;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Integer getW_type() {
        return w_type;
    }

    public void setW_type(Integer w_type) {
        this.w_type = w_type;
    }

    public Double getDecimal() {
        return decimal;
    }

    public void setDecimal(Double decimal) {
        this.decimal = decimal;
    }

    public String getwId() {
        return wId;
    }

    public void setwId(String wId) {
        this.wId = wId;
    }

    public Date getWdate() {
        return wdate;
    }

    public void setWdate(Date wdate) {
        this.wdate = wdate;
    }

    @Override
    public String toString() {
        return "Withdrawa{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", w_money=" + w_money +
                ", money=" + money +
                ", w_type=" + w_type +
                ", decimal=" + decimal +
                ", wId='" + wId + '\'' +
                ", wdate=" + wdate +
                '}';
    }
}
